package com.gxa.autoparts.admin.service;

import com.gxa.autoparts.core.pojo.User;
import com.gxa.autoparts.core.service.BaseService;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface UserService extends BaseService<User> {
    List<Map> selectRecharge(Integer page, Integer size) throws Exception;
    List<Map> selectRechargeByTime(String time1, String time2, Integer page, Integer size) throws Exception;
    List<Map> selectOrderAndUser(Integer page,Integer size) throws Exception;
    List<Map> selectOrderAndUserBy(String seriaLnNumber, String time1,String time2,Integer page,Integer size) throws Exception;

    List<User> selectAll(Integer page,Integer size) throws Exception;
    void updateState(Long id);
    List<User> selectByNameAndPhoneAndState(String name,String phone,Boolean state,Integer page,Integer size) throws Exception;
}
